<?php /* Smarty version Smarty-3.1.11, created on 2013-09-12 11:29:46
         compiled from "..\templates\tuyensinh\thongke_tonghop.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1197052299595533719-67073670%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'eb5b2d7c5e5cab23a6cfb75ffb646823c1a0e0c9' => 
    array (
      0 => '..\\templates\\tuyensinh\\thongke_tonghop.tpl',
      1 => 1378960181,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '1197052299595533719-67073670',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_5229959584b338_95528028',
  'variables' => 
  array (
    'kq_tong_vien' => 0,
    'kq_tong_hp' => 0,
    'kq_tong_sk' => 0,
    'kq_tong_the' => 0,
    'kq_tong_yt' => 0,
    'kq_tong_tt1' => 0,
    'kq_tong_tt2' => 0,
    'dsnganh' => 0,
    'i' => 0,
    'nganh' => 0,
    'kq_tongnganh' => 0,
    'tongnganh' => 0,
    'kq_tongnganhrut' => 0,
    'tongnganhrut' => 0,
    'kq_hp' => 0,
    'hp' => 0,
    'kq_sk' => 0,
    'sk' => 0,
    'kq_the' => 0,
    'the' => 0,
    'kq_yt' => 0,
    'yt' => 0,
    'kq_tt1' => 0,
    'tt1' => 0,
    'kq_tt2' => 0,
    'tt2' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5229959584b338_95528028')) {function content_5229959584b338_95528028($_smarty_tpl) {?><script>
function xuatbc(loai,i){
    url="tuyensinh/baocao3.php?";
    nganh=document.getElementById("nganh"+i).value;
    baocao=document.getElementById(loai+nganh);
    
    url=url+loai+"&nganh="+nganh;    
    baocao.href=url;
    
    }     
</script>
<div class="content-box"><!-- Start Content Box -->
	<div class="content-box-header">
		<h3>Thống kê nhập học</h3>
	</div> <!-- End .content-box-header -->	
	<div class="content-box-content">
<!----------------------------------------------------------------- NỘI DUNG TRANG------------------------------------------------------------------------>        			
        <form action="" method="POST" id="formnoidung" name="dulieu" enctype="multipart/form-data" onsubmit="return ktnhap_cb()">
        <table style="margin: 0 auto">
            <tr><td class="cangiua" colspan="9"><h3>Thống kê nhập học</h3></td></tr>
            <tr>
                <td><label>STT</label></td>
                <td><label>Ngành</label></td>
                <td class="cangiua"><label>SL SV</label></td>
                <td class="cangiua"><label>SL Rút HS</label></td>
                <td class="cangiua"><label>Học phí</label></td>
                <td class="cangiua"><label>Khám SK</label></td>
                <td class="cangiua"><label>Thẻ TV</label></td>
                <td class="cangiua"><label>BHYT</label></td>                
                <td class="cangiua"><label>BHTT 4 Năm</label></td>
                <td class="cangiua"><label>BHTT 5 Năm</label></td>
            </tr>
            <?php $_smarty_tpl->tpl_vars['i'] = new Smarty_variable(1, null, 0);?>
            <tr>
                <td></td>
                <td></td>
                <td class="cangiua"><label><?php echo $_smarty_tpl->tpl_vars['kq_tong_vien']->value;?>
</label></td>
                <td class="cangiua"><label></label></td>
                <td class="cangiua"><label><?php echo $_smarty_tpl->tpl_vars['kq_tong_hp']->value;?>
</label></td>
                <td class="cangiua"><label><?php echo $_smarty_tpl->tpl_vars['kq_tong_sk']->value;?>
</label></td>
                <td class="cangiua"><label><?php echo $_smarty_tpl->tpl_vars['kq_tong_the']->value;?>
</label></td>                
                <td class="cangiua"><label><?php echo $_smarty_tpl->tpl_vars['kq_tong_yt']->value;?>
</label></td>
                <td class="cangiua"><label><?php echo $_smarty_tpl->tpl_vars['kq_tong_tt1']->value;?>
</label></td>
                <td class="cangiua"><label><?php echo $_smarty_tpl->tpl_vars['kq_tong_tt2']->value;?>
</label></td>
            </tr>
            <?php  $_smarty_tpl->tpl_vars['nganh'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['nganh']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['dsnganh']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['nganh']->key => $_smarty_tpl->tpl_vars['nganh']->value){
$_smarty_tpl->tpl_vars['nganh']->_loop = true;
?>
                <tr><td><?php echo $_smarty_tpl->tpl_vars['i']->value++;?>
</td>
                    <td><?php echo $_smarty_tpl->tpl_vars['nganh']->value['ten_nganh'];?>
<input type="hidden" id="nganh<?php echo $_smarty_tpl->tpl_vars['i']->value;?>
" value="<?php echo $_smarty_tpl->tpl_vars['nganh']->value['ten_nganh'];?>
" /></td>
                    <td class="cangiua">
                    <?php  $_smarty_tpl->tpl_vars['tongnganh'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['tongnganh']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['kq_tongnganh']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['tongnganh']->key => $_smarty_tpl->tpl_vars['tongnganh']->value){
$_smarty_tpl->tpl_vars['tongnganh']->_loop = true;
?>                    
                        <?php if ($_smarty_tpl->tpl_vars['tongnganh']->value['nganh_tt']==$_smarty_tpl->tpl_vars['nganh']->value['ten_nganh']){?>
                            <?php echo $_smarty_tpl->tpl_vars['tongnganh']->value['tong'];?>

                            <?php break 1?>
                        <?php }?>
                    <?php } ?>
                    </td>
                    <td class="cangiua">
                    <?php  $_smarty_tpl->tpl_vars['tongnganhrut'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['tongnganhrut']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['kq_tongnganhrut']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['tongnganhrut']->key => $_smarty_tpl->tpl_vars['tongnganhrut']->value){
$_smarty_tpl->tpl_vars['tongnganhrut']->_loop = true;
?>                    
                        <?php if ($_smarty_tpl->tpl_vars['tongnganhrut']->value['nganh_tt']==$_smarty_tpl->tpl_vars['nganh']->value['ten_nganh']){?>
                            <?php echo $_smarty_tpl->tpl_vars['tongnganhrut']->value['tong'];?>

                            <?php break 1?>
                        <?php }?>
                    <?php } ?>
                    </td>
                    <td class="cangiua">
                    <?php  $_smarty_tpl->tpl_vars['hp'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['hp']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['kq_hp']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['hp']->key => $_smarty_tpl->tpl_vars['hp']->value){
$_smarty_tpl->tpl_vars['hp']->_loop = true;
?>                    
                        <?php if ($_smarty_tpl->tpl_vars['hp']->value['nganh_tt']==$_smarty_tpl->tpl_vars['nganh']->value['ten_nganh']){?>
                            <a href="#" id="hp<?php echo $_smarty_tpl->tpl_vars['hp']->value['nganh_tt'];?>
" onmousemove="xuatbc('hp',<?php echo $_smarty_tpl->tpl_vars['i']->value;?>
);"><?php echo $_smarty_tpl->tpl_vars['hp']->value['tong'];?>
</a>
                            <?php break 1?>
                        <?php }?>
                    <?php } ?>
                    </td>
                    <td class="cangiua">
                    <?php  $_smarty_tpl->tpl_vars['sk'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['sk']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['kq_sk']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['sk']->key => $_smarty_tpl->tpl_vars['sk']->value){
$_smarty_tpl->tpl_vars['sk']->_loop = true;
?>                    
                        <?php if ($_smarty_tpl->tpl_vars['sk']->value['nganh_tt']==$_smarty_tpl->tpl_vars['nganh']->value['ten_nganh']){?>
                            <a href="#" id="sk<?php echo $_smarty_tpl->tpl_vars['sk']->value['nganh_tt'];?>
" onmousemove="xuatbc('sk',<?php echo $_smarty_tpl->tpl_vars['i']->value;?>
);"><?php echo $_smarty_tpl->tpl_vars['sk']->value['tong'];?>
</a>
                            <?php break 1?>
                        <?php }?>
                    <?php } ?>
                    </td>                    
                    <td class="cangiua">
                    <?php  $_smarty_tpl->tpl_vars['the'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['the']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['kq_the']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['the']->key => $_smarty_tpl->tpl_vars['the']->value){
$_smarty_tpl->tpl_vars['the']->_loop = true;
?>                    
                        <?php if ($_smarty_tpl->tpl_vars['the']->value['nganh_tt']==$_smarty_tpl->tpl_vars['nganh']->value['ten_nganh']){?>
                            <a href="#" id="the<?php echo $_smarty_tpl->tpl_vars['the']->value['nganh_tt'];?>
" onmousemove="xuatbc('the',<?php echo $_smarty_tpl->tpl_vars['i']->value;?>
);"><?php echo $_smarty_tpl->tpl_vars['the']->value['tong'];?>
</a>
                            <?php break 1?>
                        <?php }?>
                    <?php } ?>
                    </td>
                    <td class="cangiua">
                    <?php  $_smarty_tpl->tpl_vars['yt'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['yt']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['kq_yt']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['yt']->key => $_smarty_tpl->tpl_vars['yt']->value){
$_smarty_tpl->tpl_vars['yt']->_loop = true;
?>                    
                        <?php if ($_smarty_tpl->tpl_vars['yt']->value['nganh_tt']==$_smarty_tpl->tpl_vars['nganh']->value['ten_nganh']){?>
                            <a href="#" id="yt<?php echo $_smarty_tpl->tpl_vars['yt']->value['nganh_tt'];?>
" onmousemove="xuatbc('yt',<?php echo $_smarty_tpl->tpl_vars['i']->value;?>
);"><?php echo $_smarty_tpl->tpl_vars['yt']->value['tong'];?>
</a>
                            <?php break 1?>
                        <?php }?>
                    <?php } ?>
                    </td>
                    <td class="cangiua">
                    <?php  $_smarty_tpl->tpl_vars['tt1'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['tt1']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['kq_tt1']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['tt1']->key => $_smarty_tpl->tpl_vars['tt1']->value){
$_smarty_tpl->tpl_vars['tt1']->_loop = true;
?>                    
                        <?php if ($_smarty_tpl->tpl_vars['tt1']->value['nganh_tt']==$_smarty_tpl->tpl_vars['nganh']->value['ten_nganh']){?>
                            <a href="#" id="tt1<?php echo $_smarty_tpl->tpl_vars['tt1']->value['nganh_tt'];?>
" onmousemove="xuatbc('tt1',<?php echo $_smarty_tpl->tpl_vars['i']->value;?>
);"><?php echo $_smarty_tpl->tpl_vars['tt1']->value['tong'];?>
</a>
                            <?php break 1?>
                        <?php }?>
                    <?php } ?>
                    </td>
                    <td class="cangiua">
                    <?php  $_smarty_tpl->tpl_vars['tt2'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['tt2']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['kq_tt2']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['tt2']->key => $_smarty_tpl->tpl_vars['tt2']->value){
$_smarty_tpl->tpl_vars['tt2']->_loop = true;
?>                    
                        <?php if ($_smarty_tpl->tpl_vars['tt2']->value['nganh_tt']==$_smarty_tpl->tpl_vars['nganh']->value['ten_nganh']){?>
                            <a href="#" id="tt2<?php echo $_smarty_tpl->tpl_vars['tt2']->value['nganh_tt'];?>
" onmousemove="xuatbc('tt2',<?php echo $_smarty_tpl->tpl_vars['i']->value;?>
);"><?php echo $_smarty_tpl->tpl_vars['tt2']->value['tong'];?>
</a>
                            <?php break 1?>
                        <?php }?>
                    <?php } ?>
                    </td>
                </tr>     
            <?php } ?>
        </table>
<!-----------------------------------------------------------KẾT THÚC NỘI DUNG TRANG------------------------------------------------------------------------>
</div> <!-- End .content-box-content -->
</div> <!-- End .content-box --><?php }} ?>